package com.learn.reflectTest;

public class Person {
    private int age;
    public String sex;

    private Person(int age) {
        this.age = age;
    }

    public Person(int age,String sex){
        this.age = age;
        this.sex = sex;
    }

    public void show(int age){
        System.out.println(age);
    }

    private void showin(String sex){
        System.out.println(sex);
    }

    @Override
    public String toString() {
        return "Person{" +
                "age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
